﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="krj_document_detail.aspx.cs" Inherits="krj_document_detail" %>

<%@ PreviousPageType VirtualPath="~/Management/Forms/krj_document.aspx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <script src="Scripts/krj_document_detail.js"></script>
  <asp:Button ID="btn_insert" runat="server" OnClientClick="return check();" OnClick="btn_insert_Click" Text="新增" />
  <asp:Button ID="btn_save" runat="server" OnClientClick="return check();" OnClick="btn_update_Click" Text="存檔" />
  <asp:Button ID="btn_delete" runat="server" OnClick="btn_delete_Click" Text="刪除" OnClientClick="return confirm('是否確定刪除?');" CausesValidation="False" />
  <asp:Button ID="btn_exit" runat="server" CausesValidation="false" OnClick="btn_exit_Click"  Text="離開" />
  <asp:Label ID="lbl_message" runat="server" EnableViewState="False" ForeColor="Red"></asp:Label>
  <br />
  <asp:Panel ID="PanelDetail" runat="server">
    <table class="ConditionTable">
      <tr>
        <th colspan="4">表單上傳明細 </th>
          
          <tr>
              <td>
              部門代號 :
                <asp:DropDownList ID="ddldept" runat="server" AppendDataBoundItems="true" >
                    <asp:ListItem Value=""></asp:ListItem>
                </asp:DropDownList>
                
          </td>
          <td>表單類別 :
                        
              <select id="ddl_category">
                  <option value=""></option>
              </select>
            <asp:HiddenField ID="hidcategory" runat="server" />
              <asp:HiddenField ID="hidMODE" runat="server" />
          </td>
          <td>表單代號 : 
                    
              <select id="ddl_document">
                  <option value=""></option>
              </select>        
              <asp:HiddenField ID="hiddocument" runat="server" />        
              <asp:HiddenField ID="hiddocument_name" runat="server" />        
                       <%-- <asp:Label ID="lbl_document_no" runat="server" Text="Label" />--%>
              
                        
          </td>
          <td>是否轉檔PDF :
                      <asp:CheckBox ID="chk_ISTRANSFORM" runat="server" />
          </td>
        </tr>
        <tr>
          <td>是否編列序號 :<asp:CheckBox ID="chk_ISSEQUENCE" runat="server" />
          </td>
          <td>是否信件通知 :<asp:CheckBox ID="chk_ISMAIL" runat="server" />
           </td>
            <td>
                承辦人員編 :
            <asp:TextBox ID="txt_UNDERTAKERS" runat="server" MaxLength="17" Width="100px"></asp:TextBox>
            </td>
          <td>是否統計下載人數 :<asp:CheckBox ID="chk_ISSTATISTICS" runat="server" />
          </td>
        </tr>
        <tr>
          <td colspan="4">
            <asp:Panel ID="FileUploadHost" runat="server">
              檔案路徑 :
              <asp:HyperLink ID="hl_filepath" runat="server" />
              <asp:FileUpload ID="FileUploadDoc" runat="server" Width="93%" />
            </asp:Panel>
          </td>
        </tr>
        <tr>
          <td colspan="4">&nbsp;</td>
        </tr>
      
    </table>
  </asp:Panel>

</asp:Content>

